function myGetLocation(options){
  return new Promise((resolve, reject)=>{
    options = options||{}
    options.success = resolve
    options.fail = reject
    wx.getLocation(options)
  })
}
export default myGetLocation